2020-2021 Sunseeker Telemetry and Lighting System
ldopwr_ex3_internalLDOEnabled.c File Reference
#include "driverlib.h"

Go to the source code of this file.

Functions

void main (void)
 
void LDOInterruptHandler (void)
 

Function Documentation

◆ LDOInterruptHandler()

void LDOInterruptHandler ( void  )

◆ main()

void main ( void  )

MSP430F530x Demo - Internal LDO enabled after device power-up

Description: This demo code shows example case where device is powered from an external supply and the LDO input coming on is detected to enable external system circuitry. When sufficient voltage at LDOI is present, P1.0 is set, else reset; thus reflecting the status of the LDO being enabled or not

Note: 1.External supply is used to power the device VCC. If using TI target board (MSP-TS430RGC64B), remove jumper on JP4

ACLK = 32.768kHz, MCLK = SMCLK = default DCO~1MHz

         MSP430F530x
      -----------------
 /|\|              VCC|<- External Supply
  | |                 |
  --|RST              |
    |             LDOO|--> 3.3V LDO Output
    |             LDOI|<-- LDO Input Voltage (3.76V to 5.5V - refer to the d/s
                              specs for actual range)
    |                 |
    |             P1.0|--> LED - Reflects LDO status
    |                 |

This example uses the following peripherals and I/O signals. You must review these and change as needed for your own board:

  • LDO-PWR module
  • GPIO Port peripheral

This example uses the following interrupt handlers. To use this example in your own application you must add these interrupt handlers to your vector table.

  • None.

Definition at line 72 of file ldopwr_ex3_internalLDOEnabled.c.

References __no_operation(), GPIO_setOutputHighOnPin(), and GPIO_setOutputLowOnPin().